<div class="list-group">
    {{#with article}}
        <article class="list-group-item">
            <header class="page-header">
                <h2>{{title}}</h2>
                <span class="col-lg-offset-1"></span>
                <i class="fa fa-user"></i>&nbsp;
                <a href="/user/detail/{{author.id}}">{{author.username}}</a>&nbsp;&nbsp;&nbsp;&nbsp;
                <i class="fa fa-calendar"></i>&nbsp;{{date}}
                &nbsp;&nbsp;&nbsp;&nbsp;
                <i class="fa fa-comments-o fa-lg"></i>&nbsp;
                <a href="/article/detail/{{link}}#comments">{{commentsNum}}</a>
            </header>
            <hr/>
            <div class="art-body">
                {{{content }}}
            </div>
            <footer class="art-footer">
                        <span>
                            <i class="fa fa-bars"></i>分类:
                            {{#with catalogs}}
                                <a href="/article/catalog/{{id}}">{{name}}</a>&nbsp;
                            {{/with}}&nbsp;&nbsp;
                        </span>
                        <span>
                            {{#if tags}}
                                <i class="fa fa-tags"></i>标签:
                                {{#each tags}}
                                    <a href="/article/tags/{{id}}">{{name}}</a>{{#unless @last}},{{/unless}}
                                {{/each}}
                            {{/if}}
                        </span>
            </footer>
        </article>
    {{/with}}
    <article>
        <a name="comments"></a>
    </article>
</div>
